<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('pay/integral')}">配置列表</a></li>
        <li class="active"><a href="{:url('pay/setintegral')}">添加配置</a></li>
    </ul>
    <div class="row margin-top-20">
        <div class="col-md-6">
            <form class="js-ajax-form"  action="{:url('blog/pay/setintegral')}"  method="post">
                <div class="tab-content">
                    <div class="tab-pane active" id="A">
                        <!--<div class="form-group">
                            <label for="input-name">选择支付</label>
                            <div>
                                <select class="form-control" name="pay_name" id="pay_name" style="width: 140px;">
                                    <option value=''></option>
                                </select>
                            </div>
                        </div>-->
                        <!-- <div class="form-group">
                            <label for="input-name"><span class="form-required">*</span>店铺id</label>
                            <div>
                                <input readonly="readonly" class="form-control" id="storeid"  name="storeid" value="{$shopid}" >
                            </div>
                        </div> -->
                        <div class="form-group">
                            <label for="input-name"><span class="form-required">*</span>类型</label>
                            <div>
                                <select name="type">
                                    <option value="1">积分</option>
                                    <option value="2">余额充值</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-name"><span class="form-required">*</span>充值(百分比60:100---填60)</label>
                            <div>
                                <input type="text" class="form-control" id="top_intintegral" name="top_intintegral" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-name"><span class="form-required">*</span>抵扣（多少积分等于1元）</label>
                            <div>
                                <input type="text" class="form-control" id="deductions" name="deductions" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-name"><span class="form-required">*</span>抵扣（多少积分兑换一杯）</label>
                            <div>
                                <input type="text" class="form-control" id="deduction" name="deduction" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-name"><span class="form-required">*</span>最大充值金额</label>
                            <div>
                                <input type="text" class="form-control" id="deduction" name="max" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-name"><span class="form-required">*</span>最小充值金额</label>
                            <div>
                                <input type="text" class="form-control" id="deduction" name="min" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-name">是否启动</label>
                            <div>
                                <select class="form-control" name="state" id="state" style="width: 140px;">
                                <option value='1'>启动</option>
                                <option value='2'>关闭</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <button type="submit" id="but" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
                    <a class="btn btn-default" href="{:url('pay/addname')}">{:lang('BACK')}</a>
                </div>
            </form>
        </div>
    </div>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>